﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Acms.Bll
{
    public class Change
    {
        public enum ChangeTypes
        {
            Unknown = 0,
            Post = 1,
            PostProperty = 2,
            Template = 3
        }

        public enum Actions : byte
        {
            Updated = 1,
            Created = 2,
            Deleted = 2,
        }

        public DateTime Created { get; set; }
        public ChangeTypes Type { get; set; }
        public Actions Action { get; set; }
        public int UserId { get; set; }
        public string UserName { get; private set; }
        public string FirstName { get; private set; }
        public string LatstName { get; private set; }
        public string Description { get; set; }
        public string From { get; set; }
        public string To { get; set; }
        public string Key { get; set; }

        internal void Save(Guid TransactionKey)
        {
        }
    }
}
